﻿using Practice.PH4_2104A.Shopping.SevenLayerFramework.Domin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Practice.PH4_2104A.IRepository
{
    public interface ISPUSpecRepository
    {
        /// <summary>
        /// 添加一条
        /// </summary>
        /// <param name="model"></param>
        void Insert(SPUSpecModel model);

        /// <summary>
        /// 批量添加
        /// </summary>
        /// <param name="model"></param>
        void Insert(List<SPUSpecModel> models);

        /// <summary>
        /// 查询
        /// </summary>
        /// <returns></returns>
        IQueryable<SPUSpecModel> GetAll();
    }
}
